.class public Lcom/ninesky/browser/view/ToolBar;
.super Landroid/widget/LinearLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/view/View$OnTouchListener;
.implements Ljava/util/Observer;


# static fields
.field private static g:Lcom/ninesky/browser/view/ToolBar;


# instance fields
.field private A:Lcom/ninesky/widget/QuickActionItem;

.field private B:Lcom/ninesky/widget/QuickActionItem;

.field private C:Lcom/ninesky/widget/QuickActionItem;

.field private D:Lcom/ninesky/widget/QuickActionItem;

.field private E:Lcom/ninesky/widget/QuickActionItem;

.field private F:Lcom/ninesky/widget/QuickActionItem;

.field private G:Lcom/ninesky/widget/QuickActionItem;

.field private H:Lcom/ninesky/widget/QuickActionItem;

.field private I:Lcom/ninesky/widget/QuickActionItem;

.field private J:Lcom/ninesky/widget/QuickActionItem;

.field private K:Lcom/ninesky/widget/QuickActionItem;

.field private L:Lcom/ninesky/widget/g;

.field private M:Lcom/ninesky/browser/view/at;

.field private N:Z

.field private O:Landroid/widget/GridView;

.field private P:Landroid/view/View$OnClickListener;

.field private a:Landroid/widget/CheckBox;

.field private b:Landroid/widget/CheckBox;

.field private c:Landroid/widget/CheckBox;

.field private d:Landroid/widget/CheckBox;

.field private e:Landroid/os/Handler;

.field private f:Ljava/lang/Runnable;

.field private h:Lcom/ninesky/browser/BrowserActivity;

.field private i:Z

.field private j:Z

.field private k:Z

.field private l:Landroid/widget/ImageButton;

.field private m:Landroid/widget/ImageButton;

.field private n:Landroid/widget/ImageButton;

.field private o:Landroid/widget/ImageButton;

.field private p:Landroid/widget/ImageButton;

.field private q:Landroid/widget/ImageButton;

.field private r:Landroid/widget/ImageButton;

.field private s:Landroid/widget/ImageButton;

.field private t:Lcom/ninesky/widget/d;

.field private u:Lcom/ninesky/widget/QuickActionItem;

.field private v:Lcom/ninesky/widget/QuickActionItem;

.field private w:Lcom/ninesky/widget/QuickActionItem;

.field private x:Lcom/ninesky/widget/QuickActionItem;

.field private y:Lcom/ninesky/widget/QuickActionItem;

.field private z:Lcom/ninesky/widget/QuickActionItem;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/ninesky/browser/view/ToolBar;->g:Lcom/ninesky/browser/view/ToolBar;

    return-void
.end method

.method private constructor <init>(Landroid/content/Context;)V
    .locals 1

    invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    new-instance v0, Lcom/ninesky/browser/view/ad;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/ad;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->f:Ljava/lang/Runnable;

    new-instance v0, Lcom/ninesky/browser/view/ah;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/ah;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    check-cast p1, Lcom/ninesky/browser/BrowserActivity;

    iput-object p1, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->k()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    new-instance v0, Lcom/ninesky/browser/view/ad;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/ad;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->f:Ljava/lang/Runnable;

    new-instance v0, Lcom/ninesky/browser/view/ah;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/ah;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    check-cast p1, Lcom/ninesky/browser/BrowserActivity;

    iput-object p1, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->k()V

    return-void
.end method

.method static synthetic A(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/g;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    return-object v0
.end method

.method static synthetic B(Lcom/ninesky/browser/view/ToolBar;)Landroid/widget/ImageButton;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->p:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic C(Lcom/ninesky/browser/view/ToolBar;)Landroid/widget/CheckBox;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->a:Landroid/widget/CheckBox;

    return-object v0
.end method

.method static synthetic D(Lcom/ninesky/browser/view/ToolBar;)Landroid/widget/CheckBox;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->b:Landroid/widget/CheckBox;

    return-object v0
.end method

.method static synthetic E(Lcom/ninesky/browser/view/ToolBar;)Landroid/widget/CheckBox;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->c:Landroid/widget/CheckBox;

    return-object v0
.end method

.method static synthetic F(Lcom/ninesky/browser/view/ToolBar;)Landroid/widget/CheckBox;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->d:Landroid/widget/CheckBox;

    return-object v0
.end method

.method static synthetic G(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/d;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    return-object v0
.end method

.method static synthetic H(Lcom/ninesky/browser/view/ToolBar;)Landroid/widget/ImageButton;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->q:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic I(Lcom/ninesky/browser/view/ToolBar;)V
    .locals 0

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->l()V

    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/view/ToolBar;Lcom/ninesky/browser/BrowserActivity;I)Landroid/app/Dialog;
    .locals 9

    const v8, 0x1040013

    const v7, 0x1040009

    const/16 v2, 0x11

    const/4 v6, -0x1

    const/4 v3, 0x0

    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    packed-switch p2, :pswitch_data_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :pswitch_0
    new-instance v1, Landroid/widget/CheckBox;

    invoke-direct {v1, p1}, Landroid/widget/CheckBox;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->a:Landroid/widget/CheckBox;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->a:Landroid/widget/CheckBox;

    invoke-virtual {p0}, Lcom/ninesky/browser/view/ToolBar;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f07000f

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Landroid/widget/CheckBox;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->a:Landroid/widget/CheckBox;

    invoke-virtual {v1, v6}, Landroid/widget/CheckBox;->setTextColor(I)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->a:Landroid/widget/CheckBox;

    move v4, v3

    move v5, v3

    invoke-virtual/range {v0 .. v5}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;IIII)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x1080040

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f070052

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f070053

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/ae;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/ae;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v8, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/af;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/af;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v7, v1}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto :goto_0

    :pswitch_1
    new-instance v1, Landroid/widget/CheckBox;

    invoke-direct {v1, p1}, Landroid/widget/CheckBox;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->b:Landroid/widget/CheckBox;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->b:Landroid/widget/CheckBox;

    invoke-virtual {p0}, Lcom/ninesky/browser/view/ToolBar;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f07000f

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Landroid/widget/CheckBox;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->b:Landroid/widget/CheckBox;

    invoke-virtual {v1, v6}, Landroid/widget/CheckBox;->setTextColor(I)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->b:Landroid/widget/CheckBox;

    move v4, v3

    move v5, v3

    invoke-virtual/range {v0 .. v5}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;IIII)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x1080040

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f070050

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f070051

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/ap;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/ap;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v8, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/ar;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/ar;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v7, v1}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto/16 :goto_0

    :pswitch_2
    new-instance v1, Landroid/widget/CheckBox;

    invoke-direct {v1, p1}, Landroid/widget/CheckBox;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->c:Landroid/widget/CheckBox;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->c:Landroid/widget/CheckBox;

    invoke-virtual {p0}, Lcom/ninesky/browser/view/ToolBar;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f07000f

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Landroid/widget/CheckBox;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->c:Landroid/widget/CheckBox;

    invoke-virtual {v1, v6}, Landroid/widget/CheckBox;->setTextColor(I)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->c:Landroid/widget/CheckBox;

    move v4, v3

    move v5, v3

    invoke-virtual/range {v0 .. v5}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;IIII)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x1080040

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f07003b

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f07003c

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/al;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/al;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v8, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/an;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/an;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v7, v1}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto/16 :goto_0

    :pswitch_3
    new-instance v1, Landroid/widget/CheckBox;

    invoke-direct {v1, p1}, Landroid/widget/CheckBox;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->d:Landroid/widget/CheckBox;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->d:Landroid/widget/CheckBox;

    invoke-virtual {p0}, Lcom/ninesky/browser/view/ToolBar;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f07000f

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Landroid/widget/CheckBox;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->d:Landroid/widget/CheckBox;

    invoke-virtual {v1, v6}, Landroid/widget/CheckBox;->setTextColor(I)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->d:Landroid/widget/CheckBox;

    move v4, v3

    move v5, v3

    invoke-virtual/range {v0 .. v5}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;IIII)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x1080040

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f07003e

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f07003f

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/v;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/v;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v8, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/t;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/t;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v7, v1}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x28
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public static a(Landroid/content/Context;)Lcom/ninesky/browser/view/ToolBar;
    .locals 1

    sget-object v0, Lcom/ninesky/browser/view/ToolBar;->g:Lcom/ninesky/browser/view/ToolBar;

    if-nez v0, :cond_0

    new-instance v0, Lcom/ninesky/browser/view/ToolBar;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/ToolBar;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/ninesky/browser/view/ToolBar;->g:Lcom/ninesky/browser/view/ToolBar;

    :cond_0
    sget-object v0, Lcom/ninesky/browser/view/ToolBar;->g:Lcom/ninesky/browser/view/ToolBar;

    return-object v0
.end method

.method static synthetic a(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->D:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method public static a()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/ninesky/browser/view/ToolBar;->g:Lcom/ninesky/browser/view/ToolBar;

    return-void
.end method

.method private a(I)V
    .locals 5

    const/4 v4, 0x1

    const/4 v3, 0x0

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->g()I

    move-result v0

    if-ne v0, p1, :cond_1

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->f()Z

    move-result v1

    if-nez v1, :cond_2

    move v1, v3

    :goto_0
    iget-object v2, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v2}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v2

    if-eqz v2, :cond_3

    if-nez v1, :cond_3

    move v1, v4

    :goto_1
    if-eqz v0, :cond_0

    iget-object v2, p0, Lcom/ninesky/browser/view/ToolBar;->l:Landroid/widget/ImageButton;

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->k()Z

    move-result v3

    invoke-virtual {v2, v3}, Landroid/widget/ImageButton;->setEnabled(Z)V

    iget-object v2, p0, Lcom/ninesky/browser/view/ToolBar;->m:Landroid/widget/ImageButton;

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->j()Z

    move-result v0

    invoke-virtual {v2, v0}, Landroid/widget/ImageButton;->setEnabled(Z)V

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    iget-object v2, p0, Lcom/ninesky/browser/view/ToolBar;->f:Ljava/lang/Runnable;

    invoke-virtual {v0, v2}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    if-eqz v1, :cond_4

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->l:Landroid/widget/ImageButton;

    invoke-virtual {v0}, Landroid/widget/ImageButton;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_4

    invoke-direct {p0, p1}, Lcom/ninesky/browser/view/ToolBar;->b(I)V

    :cond_1
    :goto_2
    return-void

    :cond_2
    move v1, v4

    goto :goto_0

    :cond_3
    move v1, v3

    goto :goto_1

    :cond_4
    invoke-virtual {p0}, Lcom/ninesky/browser/view/ToolBar;->g()V

    goto :goto_2
.end method

.method static synthetic a(Landroid/view/KeyEvent$Callback;)V
    .locals 9

    :try_start_0
    new-instance v0, Landroid/view/KeyEvent;

    const-wide/16 v1, 0x0

    const-wide/16 v3, 0x0

    const/4 v5, 0x0

    const/16 v6, 0x3b

    const/4 v7, 0x0

    const/4 v8, 0x0

    invoke-direct/range {v0 .. v8}, Landroid/view/KeyEvent;-><init>(JJIIII)V

    const/4 v1, 0x0

    const/4 v2, 0x0

    invoke-virtual {v0, p0, v1, v2}, Landroid/view/KeyEvent;->dispatch(Landroid/view/KeyEvent$Callback;Landroid/view/KeyEvent$DispatcherState;Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method static synthetic a(Lcom/ninesky/browser/view/ToolBar;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/ninesky/browser/view/ToolBar;->d(Z)V

    return-void
.end method

.method private a(Z)V
    .locals 2

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->i:Z

    if-eq v0, p1, :cond_0

    iput-boolean p1, p0, Lcom/ninesky/browser/view/ToolBar;->i:Z

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->z:Lcom/ninesky/widget/QuickActionItem;

    iget-boolean v1, p0, Lcom/ninesky/browser/view/ToolBar;->i:Z

    if-eqz v1, :cond_1

    const v1, 0x7f020054

    :goto_0
    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->n()V

    :cond_0
    return-void

    :cond_1
    const v1, 0x7f020055

    goto :goto_0
.end method

.method static synthetic b(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/browser/BrowserActivity;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    return-object v0
.end method

.method public static b()Lcom/ninesky/browser/view/ToolBar;
    .locals 1

    sget-object v0, Lcom/ninesky/browser/view/ToolBar;->g:Lcom/ninesky/browser/view/ToolBar;

    return-object v0
.end method

.method private b(I)V
    .locals 7

    const/16 v6, 0x8

    const/4 v5, 0x4

    const/4 v4, 0x0

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->g()I

    move-result v0

    if-ne v0, p1, :cond_1

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->r:Landroid/widget/ImageButton;

    invoke-virtual {v1, v4}, Landroid/widget/ImageButton;->setVisibility(I)V

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->n:Landroid/widget/ImageButton;

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->k()Z

    move-result v2

    if-eqz v2, :cond_2

    move v2, v4

    :goto_0
    invoke-virtual {v1, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->o:Landroid/widget/ImageButton;

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->j()Z

    move-result v0

    if-eqz v0, :cond_3

    move v0, v4

    :goto_1
    invoke-virtual {v1, v0}, Landroid/widget/ImageButton;->setVisibility(I)V

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->f:Ljava/lang/Runnable;

    const-wide/16 v2, 0x1388

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    invoke-virtual {p0, v4}, Lcom/ninesky/browser/view/ToolBar;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->l:Landroid/widget/ImageButton;

    invoke-virtual {v0, v6}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->m:Landroid/widget/ImageButton;

    invoke-virtual {v0, v6}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->p:Landroid/widget/ImageButton;

    invoke-virtual {v0, v5}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->q:Landroid/widget/ImageButton;

    invoke-virtual {v0, v5}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->s:Landroid/widget/ImageButton;

    invoke-virtual {v0, v6}, Landroid/widget/ImageButton;->setVisibility(I)V

    :cond_1
    return-void

    :cond_2
    move v2, v5

    goto :goto_0

    :cond_3
    move v0, v5

    goto :goto_1
.end method

.method static synthetic b(Lcom/ninesky/browser/view/ToolBar;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/ninesky/browser/view/ToolBar;->a(Z)V

    return-void
.end method

.method private b(Z)V
    .locals 2

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->j:Z

    if-eq v0, p1, :cond_0

    iput-boolean p1, p0, Lcom/ninesky/browser/view/ToolBar;->j:Z

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->B:Lcom/ninesky/widget/QuickActionItem;

    iget-boolean v1, p0, Lcom/ninesky/browser/view/ToolBar;->j:Z

    if-eqz v1, :cond_1

    const v1, 0x7f02005d

    :goto_0
    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->n()V

    :cond_0
    return-void

    :cond_1
    const v1, 0x7f02005e

    goto :goto_0
.end method

.method static synthetic c(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->z:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic c(Lcom/ninesky/browser/view/ToolBar;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/ninesky/browser/view/ToolBar;->b(Z)V

    return-void
.end method

.method private c(Z)V
    .locals 2

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->k:Z

    if-eq v0, p1, :cond_0

    iput-boolean p1, p0, Lcom/ninesky/browser/view/ToolBar;->k:Z

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->A:Lcom/ninesky/widget/QuickActionItem;

    iget-boolean v1, p0, Lcom/ninesky/browser/view/ToolBar;->k:Z

    if-eqz v1, :cond_1

    const v1, 0x7f020057

    :goto_0
    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->n()V

    :cond_0
    return-void

    :cond_1
    const v1, 0x7f020058

    goto :goto_0
.end method

.method static synthetic d(Lcom/ninesky/browser/view/ToolBar;)V
    .locals 2

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->i:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->a(Z)V

    invoke-static {}, Lcom/ninesky/browser/setting/a;->q()Lcom/ninesky/browser/setting/a;

    move-result-object v0

    iget-boolean v1, p0, Lcom/ninesky/browser/view/ToolBar;->i:Z

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/setting/a;->b(Z)V

    return-void

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method private d(Z)V
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->E:Lcom/ninesky/widget/QuickActionItem;

    if-eqz p1, :cond_0

    const v1, 0x7f02004d

    :goto_0
    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->E:Lcom/ninesky/widget/QuickActionItem;

    if-eqz p1, :cond_1

    const v1, 0x7f07004a

    :goto_1
    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->b(I)V

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->n()V

    return-void

    :cond_0
    const v1, 0x7f02004b

    goto :goto_0

    :cond_1
    const v1, 0x7f070049

    goto :goto_1
.end method

.method static synthetic e(Lcom/ninesky/browser/view/ToolBar;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->i:Z

    return v0
.end method

.method static synthetic f(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->B:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic g(Lcom/ninesky/browser/view/ToolBar;)V
    .locals 2

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->j:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->b(Z)V

    invoke-static {}, Lcom/ninesky/browser/setting/a;->q()Lcom/ninesky/browser/setting/a;

    move-result-object v0

    iget-boolean v1, p0, Lcom/ninesky/browser/view/ToolBar;->j:Z

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/setting/a;->d(Z)V

    return-void

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method static synthetic h(Lcom/ninesky/browser/view/ToolBar;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->j:Z

    return v0
.end method

.method static synthetic i(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->C:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic j(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->F:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic k(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->H:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method private k()V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f03002b

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0c008b

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->l:Landroid/widget/ImageButton;

    const v0, 0x7f0c0089

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->m:Landroid/widget/ImageButton;

    const v0, 0x7f0c008c

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->n:Landroid/widget/ImageButton;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->n:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setBackgroundColor(I)V

    const v0, 0x7f0c008a

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->o:Landroid/widget/ImageButton;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->o:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setBackgroundColor(I)V

    const v0, 0x7f0c008e

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->p:Landroid/widget/ImageButton;

    const v0, 0x7f0c008d

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->q:Landroid/widget/ImageButton;

    const v0, 0x7f0c008f

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->s:Landroid/widget/ImageButton;

    const v0, 0x7f0c0090

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->r:Landroid/widget/ImageButton;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->r:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->l:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->m:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->q:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->r:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->p:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->s:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->n:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->o:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0}, Lcom/ninesky/browser/view/ToolBar;->f()V

    return-void
.end method

.method static synthetic l(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->y:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method private l()V
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->N:Z

    if-eqz v0, :cond_3

    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->N:Z

    new-instance v0, Lcom/ninesky/widget/g;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-direct {v0, v1}, Lcom/ninesky/widget/g;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    const v1, 0x7f030031

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/g;->a(I)Landroid/view/View;

    move-result-object v0

    const v1, 0x7f0c00ab

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->O:Landroid/widget/GridView;

    new-instance v0, Lcom/ninesky/browser/view/at;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/at;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->M:Lcom/ninesky/browser/view/at;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->O:Landroid/widget/GridView;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->M:Lcom/ninesky/browser/view/at;

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->M:Lcom/ninesky/browser/view/at;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/at;->a()V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->b()Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    new-instance v1, Lcom/ninesky/browser/view/aj;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/aj;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :cond_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->M:Lcom/ninesky/browser/view/at;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->M:Lcom/ninesky/browser/view/at;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/at;->notifyDataSetChanged()V

    goto :goto_0
.end method

.method static synthetic m(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->u:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method private m()V
    .locals 9

    const/4 v8, 0x4

    const/4 v7, 0x3

    const/4 v6, 0x2

    const/4 v5, 0x1

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    if-nez v0, :cond_0

    new-instance v0, Lcom/ninesky/widget/d;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-direct {v0, v1}, Lcom/ninesky/widget/d;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f09000c

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getTextArray(I)[Ljava/lang/CharSequence;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v1, v0}, Lcom/ninesky/widget/d;->a([Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f020044

    const v2, 0x7f070038

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->u:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02003d

    const v2, 0x7f07004b

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->v:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02005f

    const v2, 0x7f07004c

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->w:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02003f

    const v2, 0x7f07004d

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->x:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f020048

    const v2, 0x7f070039

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->y:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02004b

    const v2, 0x7f070049

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->E:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02004c

    const v2, 0x7f070041

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->F:Lcom/ninesky/widget/QuickActionItem;

    const/4 v0, 0x6

    new-array v0, v0, [Lcom/ninesky/widget/QuickActionItem;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->u:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v4

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->v:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v5

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->w:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v6

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->x:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v7

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->E:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v8

    const/4 v1, 0x5

    iget-object v2, p0, Lcom/ninesky/browser/view/ToolBar;->F:Lcom/ninesky/widget/QuickActionItem;

    aput-object v2, v0, v1

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v1, v4, v0}, Lcom/ninesky/widget/d;->a(I[Lcom/ninesky/widget/QuickActionItem;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f020055

    const v2, 0x7f07003a

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->z:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02005e

    const v2, 0x7f07003d

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->B:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f020058

    const v2, 0x7f07004f

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->A:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f020065

    const v2, 0x7f070040

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->D:Lcom/ninesky/widget/QuickActionItem;

    new-array v0, v8, [Lcom/ninesky/widget/QuickActionItem;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->z:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v4

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->B:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v5

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->A:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v6

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->D:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v7

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v1, v5, v0}, Lcom/ninesky/widget/d;->a(I[Lcom/ninesky/widget/QuickActionItem;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f020067

    const v2, 0x7f070047

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->G:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02004f

    const v2, 0x7f070046

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->H:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f020061

    const v2, 0x7f070045

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->C:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f020069

    const v2, 0x7f070042

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->K:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02003c

    const v2, 0x7f070044

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->I:Lcom/ninesky/widget/QuickActionItem;

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const v1, 0x7f02004e

    const v2, 0x7f070043

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->P:Landroid/view/View$OnClickListener;

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/widget/QuickActionItem;->a(Landroid/content/Context;IILandroid/view/View$OnClickListener;)Lcom/ninesky/widget/QuickActionItem;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->J:Lcom/ninesky/widget/QuickActionItem;

    const/4 v0, 0x5

    new-array v0, v0, [Lcom/ninesky/widget/QuickActionItem;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->G:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v4

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->H:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v5

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->C:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v6

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->K:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v7

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->J:Lcom/ninesky/widget/QuickActionItem;

    aput-object v1, v0, v8

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v1, v6, v0}, Lcom/ninesky/widget/d;->a(I[Lcom/ninesky/widget/QuickActionItem;)V

    :cond_0
    invoke-static {}, Lcom/ninesky/browser/setting/a;->q()Lcom/ninesky/browser/setting/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/setting/a;->f()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->a(Z)V

    invoke-static {}, Lcom/ninesky/browser/setting/a;->q()Lcom/ninesky/browser/setting/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/setting/a;->g()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->b(Z)V

    invoke-static {}, Lcom/ninesky/browser/setting/a;->q()Lcom/ninesky/browser/setting/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/setting/a;->e()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->c(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->d(Z)V

    invoke-static {}, Lcom/ninesky/browser/setting/a;->q()Lcom/ninesky/browser/setting/a;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/view/u;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/u;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/setting/a;->a(Lcom/ninesky/browser/setting/h;)V

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->f()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->v:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v4}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->v:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f02003e

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->x:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v4}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->x:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f020040

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->G:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v4}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->G:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f020068

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->H:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v4}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->H:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f020050

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->C:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v4}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->C:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f020062

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    :goto_0
    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->n()V

    :cond_1
    return-void

    :cond_2
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->v:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v5}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->v:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f02003d

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->x:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v5}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->x:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f02003f

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->G:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v5}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->G:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f020067

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->H:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v5}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->H:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f02004f

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->C:Lcom/ninesky/widget/QuickActionItem;

    invoke-virtual {v0, v5}, Lcom/ninesky/widget/QuickActionItem;->setEnabled(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->C:Lcom/ninesky/widget/QuickActionItem;

    const v1, 0x7f020061

    invoke-virtual {v0, v1}, Lcom/ninesky/widget/QuickActionItem;->a(I)V

    goto :goto_0
.end method

.method static synthetic n(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->J:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method private n()V
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v0}, Lcom/ninesky/widget/d;->a()V

    :cond_0
    return-void
.end method

.method static synthetic o(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->v:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic p(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->G:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic q(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->A:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic r(Lcom/ninesky/browser/view/ToolBar;)V
    .locals 2

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->k:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->c(Z)V

    invoke-static {}, Lcom/ninesky/browser/setting/a;->q()Lcom/ninesky/browser/setting/a;

    move-result-object v0

    iget-boolean v1, p0, Lcom/ninesky/browser/view/ToolBar;->k:Z

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/setting/a;->a(Z)V

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->n()V

    return-void

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method static synthetic s(Lcom/ninesky/browser/view/ToolBar;)V
    .locals 2

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->k:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->c(Z)V

    invoke-static {}, Lcom/ninesky/browser/setting/a;->q()Lcom/ninesky/browser/setting/a;

    move-result-object v0

    iget-boolean v1, p0, Lcom/ninesky/browser/view/ToolBar;->k:Z

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/setting/a;->a(Z)V

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->w()V

    return-void

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method static synthetic t(Lcom/ninesky/browser/view/ToolBar;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->k:Z

    return v0
.end method

.method static synthetic u(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->E:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic v(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->x:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic w(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->w:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic x(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->I:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic y(Lcom/ninesky/browser/view/ToolBar;)Lcom/ninesky/widget/QuickActionItem;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->K:Lcom/ninesky/widget/QuickActionItem;

    return-object v0
.end method

.method static synthetic z(Lcom/ninesky/browser/view/ToolBar;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    return-object v0
.end method


# virtual methods
.method public final c()V
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->c()V

    :cond_0
    return-void
.end method

.method public final d()V
    .locals 2

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->m()V

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v0}, Lcom/ninesky/widget/d;->b()Z

    move-result v0

    :cond_0
    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    new-instance v1, Lcom/ninesky/browser/view/l;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/l;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :cond_1
    return-void
.end method

.method public final e()V
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v0}, Lcom/ninesky/widget/d;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v0}, Lcom/ninesky/widget/d;->c()V

    :cond_0
    return-void
.end method

.method public final f()V
    .locals 1

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->g()I

    move-result v0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->a(I)V

    return-void
.end method

.method public final g()V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->f:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->r:Landroid/widget/ImageButton;

    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->n:Landroid/widget/ImageButton;

    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->o:Landroid/widget/ImageButton;

    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    const v0, 0x7f0200a0

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->setBackgroundResource(I)V

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->i()I

    move-result v0

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->p:Landroid/widget/ImageButton;

    invoke-virtual {v1, v0}, Landroid/widget/ImageButton;->setImageLevel(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->l:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->m:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->q:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->p:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->s:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    return-void
.end method

.method public final h()V
    .locals 2

    const/4 v1, 0x4

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->f()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->n:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->o:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->p:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->q:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public final i()V
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->l:Landroid/widget/ImageButton;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    return-void
.end method

.method public final j()V
    .locals 3

    const/4 v2, 0x0

    iget-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->N:Z

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    :goto_0
    iput-boolean v0, p0, Lcom/ninesky/browser/view/ToolBar;->N:Z

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->c()V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    new-instance v1, Lcom/ninesky/browser/view/m;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/m;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v0}, Lcom/ninesky/widget/d;->b()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v0}, Lcom/ninesky/widget/d;->c()V

    iput-object v2, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->m()V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    new-instance v1, Lcom/ninesky/browser/view/n;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/n;-><init>(Lcom/ninesky/browser/view/ToolBar;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :goto_1
    return-void

    :cond_1
    const/4 v0, 0x1

    goto :goto_0

    :cond_2
    iput-object v2, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->m()V

    goto :goto_1
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const-wide/16 v2, 0x1388

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->f:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->L:Lcom/ninesky/widget/g;

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->c()V

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v0}, Lcom/ninesky/widget/d;->b()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->t:Lcom/ninesky/widget/d;

    invoke-virtual {v0}, Lcom/ninesky/widget/d;->c()V

    :cond_1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    invoke-static {}, Lcom/ninesky/browser/BrowserActivity;->c()V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->f:Ljava/lang/Runnable;

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_2
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const-string v1, "Toolbar"

    const-string v2, "Forward"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :pswitch_1
    invoke-static {}, Lcom/ninesky/browser/BrowserActivity;->d()V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->e:Landroid/os/Handler;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->f:Ljava/lang/Runnable;

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_3
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const-string v1, "Toolbar"

    const-string v2, "Back"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :pswitch_2
    invoke-direct {p0}, Lcom/ninesky/browser/view/ToolBar;->l()V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const-string v1, "Toolbar"

    const-string v2, "WindowManage"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->i()V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const-string v1, "Toolbar"

    const-string v2, "Menu"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :pswitch_4
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v1}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v1

    if-eqz v1, :cond_4

    const/4 v1, 0x0

    :goto_1
    invoke-virtual {v0, v1}, Lcom/ninesky/browser/BrowserActivity;->b(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->d(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const-string v1, "Toolbar"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "FullScreen:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v3}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_4
    const/4 v1, 0x1

    goto :goto_1

    :pswitch_5
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->e()V

    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    const-string v1, "Toolbar"

    const-string v2, "Home"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0089
        :pswitch_1
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_3
        :pswitch_2
        :pswitch_5
        :pswitch_4
    .end packed-switch
.end method

.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v1, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v1}, Lcom/ninesky/browser/BrowserActivity;->b()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v1

    invoke-virtual {v1}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v1

    invoke-virtual {v1}, Lcom/ninesky/browser/n;->f()Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v1

    if-nez v1, :cond_2

    const/high16 v1, 0x3fc0

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    invoke-virtual {p1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    :cond_1
    :goto_0
    const/4 v0, 0x0

    return v0

    :cond_2
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_1

    const/high16 v1, 0x3f80

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    invoke-virtual {p1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 1

    if-eqz p2, :cond_1

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->c()Ljava/util/Observable;

    move-result-object v0

    if-ne p1, v0, :cond_1

    check-cast p2, Lcom/ninesky/browser/ef;

    iget v0, p2, Lcom/ninesky/browser/ef;->a:I

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    iget v0, p2, Lcom/ninesky/browser/ef;->d:I

    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->a(I)V

    goto :goto_0

    :cond_1
    if-eqz p2, :cond_0

    instance-of v0, p1, Lcom/ninesky/browser/eg;

    if-eqz v0, :cond_0

    check-cast p2, Lcom/ninesky/browser/br;

    iget v0, p2, Lcom/ninesky/browser/br;->a:I

    packed-switch v0, :pswitch_data_0

    invoke-virtual {p0}, Lcom/ninesky/browser/view/ToolBar;->f()V

    goto :goto_0

    :pswitch_0
    iget-object v0, p0, Lcom/ninesky/browser/view/ToolBar;->h:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->n()Z

    move-result v0

    if-eqz v0, :cond_0

    iget v0, p2, Lcom/ninesky/browser/br;->b:I

    invoke-direct {p0, v0}, Lcom/ninesky/browser/view/ToolBar;->b(I)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x2 -> :sswitch_0
        0x4 -> :sswitch_0
        0x8 -> :sswitch_0
    .end sparse-switch

    :pswitch_data_0
    .packed-switch 0x10
        :pswitch_0
    .end packed-switch
.end method
